using System;

namespace fluentvaly.Results
{
    public class ValidationResult
    {
        public static ValidationResult Pass()
        {
            return new ValidationResult
                       {
                           Passed = true,
                           Reasons = InvalidationReasons.None
                       };
        }

        public bool Passed { get; set; }
        public InvalidationReasons Reasons { get; set; }
        public Type ValidatedObject { get; set; }
        public string Validator { get; set; }
        public string Member { get; set; }
    }
}